package com.mccrea.pattern.composite;

/**
 * @Classname Department
 * @Description 院系
 * @Date 2021/5/10 0010 10:19
 * @Created by Mccrea_Gao
 */
public class Department extends OrganizationComponent{

    public Department(String name, String des) {
        super(name, des);
    }

    @Override
    protected void print() {
        System.out.println("===============" + getName() + "===============");
    }
}
